
#ifndef MONITOR_H
#define MONITOR_H

#include "linked_list.h"
#include "window.h"

class WMMonitor
{
public:
	WMMonitor();

	void spawnWindow(const char *app);
        
        void addWindow(WMWindow *newWindow);
        /**
         * 
         * @param id is the window id.
         * @return the window.
         */
        WMWindow* getWindow(int id) const { return m_windows_list.at(id); }
private:
    LinkedList<WMWindow*> m_windows_list;
};

#endif


